package com.crane.oss.sys.bean.request.dict;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2020年08月24日 11时06分53秒
 */
@ApiModel(description = "修改参数")

@Getter
@Setter
@ToString

public class UpdateDictReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", name = "id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "字典组编号", name = "dictGroupCode")
    @Size(min = 1, max = 64, message = "dictGroupCode长度不在范围内")
    private String dictGroupCode;

    @ApiModelProperty(value = "字典组名称", name = "dictGroupName")
    @Size(max = 128, message = "dictGroupName长度超长")
    private String dictGroupName;


}
